package com.huluobo.a2204kotlinjetpackdemo.hilt

import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import javax.inject.Singleton

/**
 *  Created by LC on 2024/8/16.
 */
@Module
@InstallIn(SingletonComponent::class)
object LoginModel {
    @Provides
    @Singleton
    fun getApiService(): ApiService {
        return RetrofitManager()
    }
}